package wf.dto.georef;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id; 
import javax.persistence.NamedNativeQueries;
import javax.persistence.NamedNativeQuery;
//import org.hibernate.annotations.NamedNativeQueries;
//import org.hibernate.annotations.NamedNativeQuery;
/**
 *
 * @author Rómulo Galindo Tanta
 */

@Entity
@NamedNativeQueries({
        @NamedNativeQuery(
	name = "georef.pfactpun",
	query = "select * from georef.pfactpun(:p_id_zongeo, :p_id_pungeo, :p_nu_geolat , :p_nu_geolon )",
	resultClass = pfactpun.class
	)
})

public class pfactpun implements Serializable {
    
    @Id
    @Column(name="pfactpun")
    private String pfactpun;

    public pfactpun() {
    }

    public String getPfactpun() {
        return pfactpun;
    }

    public void setPfactpun(String pfactpun) {
        this.pfactpun = pfactpun;
    }
    
}
